/*
 * Copyright (c) 2012-2014, EpicSaaS Yuan Xin technology Co., Ltd.
 * 
 * All rights reserved.
 */
package com.epicsaas.app.ksdapp.dao.customized;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.epicsaas.app.ksdapp.android.bean.Product;

public interface ProductCustomziedMapper {

    /**
     * 
     * @param arg0
     * @return
     * 获取推荐商品
     */
    public abstract List<Product> getRecommendsByUid(@Param("uid") String uid);

    /**
     * 
     * @param arg0
     * @return
     * 获取某家店的商品
     */
    public abstract List<Product> getProductsByShopidAndUid(@Param("shopid") String shopid, @Param("uid") String uid,
            @Param("productname") String productname);

    /**
     * 
     * @param arg0
     * @return
     * 获取某家店的商品
     */
    public abstract List<Product> getProductsByUidAndProductid(@Param("uid") String uid,
            @Param("productid") String productid);

    /**
     * 获取某家店下的某件商品
     * @param shopid
     * @param productid
     * @return
     */
    public abstract List<Product> getProductsByShopidAndShopitemid(@Param("shopid") String shopid,
            @Param("shopitemid") String shopitemid);

}
